<?php
/**
 * @Author:      lyt
 * @DateTime:  2017-07-31 16:01:34
 * @Description: 套餐卡详情
 */
class ServiceCardDetail extends Eloquent
{
    protected $table = "service_card_detail";

    public function serviceCardBase(){
        return $this->hasOne('ServiceCardBase','id','service_card_base_id');
    }
    public function serviceCardDetailPack(){
        return $this->hasMany('ServiceCardDetailPack','service_card_detail_id','id');
    }
}